#ifndef FRMEMPLIST_H
#define FRMEMPLIST_H
#include "Used_head.h"
#include <QMainWindow>
#include "frmupdate.h"

namespace Ui {
class FrmEmpList;
}

class FrmEmpList : public QMainWindow
{
    Q_OBJECT

public:
    explicit FrmEmpList(QWidget *parent = nullptr);
    void saveData();
    void readData();
    ~FrmEmpList();

signals:
    void customContextMenuRequested(QPoint);

private slots:
    void showMenu(const QPoint pos);

    void on_btnSearch_clicked();

    void on_pushButton_clicked();

private:
    int place[1000];
    bool isFind = false;
    string history_one;
    Ui::FrmEmpList *ui;
    void showData();
    void findOne();
};

#endif // FRMEMPLIST_H
